//
//  jiuCollectionViewCell.m
//  UI20_豆瓣电影storyBoard
//
//  Created by 王阳阳 on 16/1/4.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "jiuCollectionViewCell.h"

@implementation jiuCollectionViewCell
+ (CGFloat)heightWithText:(NSString *)text
{
    NSDictionary *dic = @{NSFileOwnerAccountName:[UIFont systemFontOfSize:17]};
    CGSize size = CGSizeMake(375 - 20, 1000);
    
    CGRect rect = [text boundingRectWithSize:size options:(NSStringDrawingUsesLineFragmentOrigin) attributes:dic context:nil];
    return rect.size.height;
};
@end
